<div id="page-wrapper">
    <div class="left" style="overflow-x:hidden">
        <div class="row">
            <div class="col-md-3 headline-one" >
                <h3 class="title" >课表<img src="assets/img/angle-right.png" alt=""></h3>
                <h5 class="title-one">日课表</h5>
            </div>
            <div class="col-md-2" ng-if="admin==true">
                <schoolcampus></schoolcampus>
            </div>
        </div>
        <div class="contentCalendar" style="margin-top:30px; ">
            <div class="row" style="margin-right:300px;">
                <div class="col-md-6" >
                    <div class="morning" style="">
                        <span class="am">班课</span>
                        <div class="gundong"  nice-scroll>
                            <div class="onetoone-two">
                                <div class="wai-two" ng-repeat="datasclass in classdatas">
                                    <div class="wai-shang">
                                        <div class="wai-nei">
                                            <div class="wai-neitwo">
                                                <span class="wai-time">{{datasclass.class_time_have.substring(0,5)}}-{{datasclass.class_time_over.substring(0,5)}}</span>
                                                <hr class="wai-xian">
                                                <span class="wai-classname">{{datasclass.class_name}}</span>
                                            </div>
                                        </div>
                                        <div class="wai-right">
                                            <a href="#/sign/{{datasclass.id}}"><button class="day-sign" style="background: #4da1ff;color: #fff;	box-shadow: #84bdff 0px 0px 8px;">签到</button></a>
                                        </div>
                                    </div>
                                    <hr class="wai-hr">
                                    <div class="row wai-zhong">
                                        <div class="col-md-4 wai-teachername">
                                            <span>老师姓名</span>
                                        </div>
                                        <div class="col-md-4 wai-teachernumber">
                                            <span>上课日期</span>
                                        </div>
                                        <div class="col-md-4 wai-classsubject">
                                            <span>课程科目</span>
                                        </div>
                                    </div>
                                    <div class="row wai-xia">
                                        <div class="col-md-4 wai-xiazongday">
                                            <span class="wai-xiaconter" style="background: #edf5ff;color: #8dc2ff">{{datasclass.staff_name}}</span>
                                        </div>
                                        <div class="col-md-4 wai-xiazongday">
                                            <span class="wai-xiaconter" style="background: #fffae7;color: #ffe16a">{{datasclass.class_date.substring(5,10)}}</span>
                                        </div>
                                        <div class="col-md-4 wai-xiazongday">
                                            <span class="wai-xiaconter" style="background: #fff0ec;color: #89878c">{{datasclass.subject_name}}</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-6" >
                    <div class="afternoon" >
                        <span class="pm">一对一</span>
                        <div class="gundong"  nice-scroll>
                            <div class="onetoone-two">
                                <div class="wai" ng-repeat="data in datas">
                                    <div class="wai-shang">
                                        <div class="wai-nei">
                                            <div class="wai-neitwo">
                                                <span class="wai-time">{{data.class_time_have.substring(0,5)}}-{{data.class_time_over.substring(0,5)}}</span>
                                                <hr class="wai-xian">
                                                <span class="wai-classname">一对一</span>
                                            </div>
                                        </div>
                                        <div class="wai-right">
                                            <button class="day-sign onetoonesign signin" style="background: #a5d16d;color: #fff;	box-shadow: #b1d584 0px 0px 8px;" ng-click="Sign($index)" ng-class="{active:state==2}" ng-if="data.state==1">签到</button>
                                            <button class="day-sign signout" style="background: #a5d16d;color: #fff;	box-shadow: #b1d584 0px 0px 8px;" ng-if="data.state==2">已签</button>
                                            <button class="day-sign onetoonesign" style="background: #a5d16d;color: #fff;	box-shadow: #b1d584 0px 0px 8px;" ng-if="data.state==3">未签</button>
                                        </div>
                                        <div class="wai-right">
                                            <button class="day-sign " style="background: #31b0d5;color: #fff;	box-shadow: #31b0d5 0px 0px 8px;" ng-click="Signout($index)">取消</button>
                                        </div>
                                    </div>
                                    <hr class="wai-hr">
                                    <div class="row wai-zhong">
                                        <div class="col-md-4 wai-teachername" >
                                            <span>老师姓名</span>
                                        </div>
                                        <div class="col-md-4 wai-teachernumber" >
                                            <span>学生姓名</span>
                                        </div>
                                        <div class="col-md-4 wai-classsubject">
                                            <span>课程科目</span>
                                        </div>
                                    </div>
                                    <div class="row wai-xia" >
                                        <div class="col-md-4 wai-xiazongday">
                                            <span class="wai-xiaconter" style="background: #edf5ff;color: #8dc2ff">{{data.staff_name}}</span>
                                        </div>
                                        <div class="col-md-4 wai-xiazongday">
                                            <span class="wai-xiaconter" style="background: #edf5ff;color: #8dc2ff">{{data.student_name}}</span>
                                        </div>
                                        <div class="col-md-4 wai-xiazongday">
                                            <span class="wai-xiaconter" style="background: #fff0ec;color: #89878c">{{data.subject_name}}</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row rightCalendar">
                <div class="caltime">
                    <div class="caldata">日历</div>
                    <calendar></calendar>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- /. PAGE INNER  -->
